<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.0">


  <link rel="apple-touch-icon" sizes="180x180" href="/img/avatar/pear.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/img/avatar/pear-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/img/avatar/pear-16x16.png">
  <link rel="mask-icon" href="/img/avatar/pear.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=FiraGo:300,300italic,400,400italic,700,700italic%7CSource+Han+Sans+SC:300,300italic,400,400italic,700,700italic%7CFira+Code:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/all.min.css" integrity="sha256-mUZM63G8m73Mcidfrv5E+Y61y7a12O5mW4ezU3bxqW4=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">

<script class="next-config" data-name="main" type="application/json">{"hostname":"syvshc.gitee.io","root":"/","images":"/images","scheme":"Gemini","version":"8.7.1","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":true,"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"buttons","active":"gitalk","storage":true,"lazyload":true,"nav":{"gitalk":{"order":-2}},"activeClass":"gitalk"},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果：${query}","hits_time":"找到 ${hits} 个搜索结果（用时 ${time} 毫秒）","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":5,"unescape":false,"preload":false}}</script><script src="/js/config.js"></script>
<meta name="description" content="本文记录过程的时候会同时记录踩过的坑, 这些坑有一些是由于我自己的操作不当, 还有一些是由于网上的教程版本过旧或书写错误造成的, 我都会记录下来, 但是文中的一些文本的描述会与系统标准输出的文本有一定差异, 只要不影响命令的运行的文字笔者不会过分追求一字不差. 那么我们开始吧1.">
<meta property="og:type" content="article">
<meta property="og:title" content="Win10+Ubuntu18.04LTS双系统安装记录">
<meta property="og:url" content="https://syvshc.gitee.io/2020-12-12-Windows-and-Ubuntu/index.html">
<meta property="og:site_name" content="无锤乙醇">
<meta property="og:description" content="本文记录过程的时候会同时记录踩过的坑, 这些坑有一些是由于我自己的操作不当, 还有一些是由于网上的教程版本过旧或书写错误造成的, 我都会记录下来, 但是文中的一些文本的描述会与系统标准输出的文本有一定差异, 只要不影响命令的运行的文字笔者不会过分追求一字不差. 那么我们开始吧1.">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pic4.zhimg.com/80/v2-df63444c0adf72d52ae7240ae7bc97f1.png">
<meta property="og:image" content="https://pic4.zhimg.com/80/v2-bf16d4403832c000d0d7f3dabebb6332.png">
<meta property="og:image" content="https://pic4.zhimg.com/80/v2-a98750890a22b38fd625febad744072b.png">
<meta property="og:image" content="https://pic4.zhimg.com/80/v2-94ddf1ee3e06abb707dfe0e226a44dad.png">
<meta property="og:image" content="https://pic4.zhimg.com/80/v2-6241ad17c3d2436d93bb804d7021ed93.png">
<meta property="og:image" content="https://pic4.zhimg.com/80/v2-edd3a958503aff3401e4e42103cc6b4a.png">
<meta property="article:published_time" content="2020-12-12T10:00:00.000Z">
<meta property="article:modified_time" content="2021-11-19T04:47:46.546Z">
<meta property="article:author" content="Zhonghao Sun">
<meta property="article:tag" content="系统安装">
<meta property="article:tag" content="配置记录">
<meta property="article:tag" content="帮助文档">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://pic4.zhimg.com/80/v2-df63444c0adf72d52ae7240ae7bc97f1.png">


<link rel="canonical" href="https://syvshc.gitee.io/2020-12-12-Windows-and-Ubuntu/">



<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-CN","comments":true,"permalink":"https://syvshc.gitee.io/2020-12-12-Windows-and-Ubuntu/","path":"2020-12-12-Windows-and-Ubuntu/","title":"Win10+Ubuntu18.04LTS双系统安装记录"}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>Win10+Ubuntu18.04LTS双系统安装记录 | 无锤乙醇</title>
  
  <script class="next-config" data-name="google_analytics" type="application/json">{"tracking_id":"UA-127047099-2","only_pageview":true}</script>
  <script src="/js/third-party/analytics/google-analytics.js"></script>




  <noscript>
    <link rel="stylesheet" href="/css/noscript.css">
  </noscript>
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <h1 class="site-title">无锤乙醇</h1>
      <i class="logo-line"></i>
    </a>
      <p class="site-subtitle" itemprop="description">学而未精</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu">
        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup"><div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off" maxlength="80"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close" role="button">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div class="search-result-container no-result">
  <div class="search-result-icon">
    <i class="fa fa-spinner fa-pulse fa-5x"></i>
  </div>
</div>

    </div>
  </div>

</div>
        
  
  <div class="toggle sidebar-toggle" role="button">
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
  </div>

  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%8F%8C%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85%E5%87%86%E5%A4%87"><span class="nav-number">1.</span> <span class="nav-text">双系统安装准备</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%BC%80%E5%A7%8B%E6%93%8D%E4%BD%9C"><span class="nav-number">2.</span> <span class="nav-text">开始操作</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%AE%89%E8%A3%85ubuntu18.04"><span class="nav-number">2.1.</span> <span class="nav-text">安装Ubuntu18.04</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%AE%89%E8%A3%85ubuntu%E4%B8%8B%E7%9A%84%E5%9F%BA%E6%9C%AC%E8%BD%AF%E4%BB%B6"><span class="nav-number">2.2.</span> <span class="nav-text">安装Ubuntu下的基本软件</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AE%89%E8%A3%85%E6%96%87%E6%9C%AC%E7%BC%96%E8%BE%91%E5%99%A8vim"><span class="nav-number">2.2.1.</span> <span class="nav-text">安装文本编辑器vim</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AE%89%E8%A3%85texlive"><span class="nav-number">2.2.2.</span> <span class="nav-text">安装TexLive</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AE%89%E8%A3%85matlab"><span class="nav-number">2.2.3.</span> <span class="nav-text">安装MATLAB</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AE%89%E8%A3%85vscode%E5%8F%8A%E9%85%8D%E7%BD%AE"><span class="nav-number">2.2.4.</span> <span class="nav-text">安装VSCode及配置</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AE%89%E8%A3%85%E9%80%9A%E8%AE%AF%E5%B7%A5%E5%85%B7wineqq"><span class="nav-number">2.2.5.</span> <span class="nav-text">安装通讯工具wine+qq</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E8%BE%93%E5%85%A5%E6%B3%95fcitx-rime%E4%BB%A5%E5%B0%8F%E9%B9%A4%E9%9F%B3%E5%BD%A2%E9%85%8D%E7%BD%AE"><span class="nav-number">2.2.6.</span> <span class="nav-text">输入法fcitx-rime以小鹤音形配置</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%B0%8F%E9%A3%9E%E6%9C%BA"><span class="nav-number">2.2.7.</span> <span class="nav-text">小飞机</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E9%85%8D%E7%BD%AEzsh"><span class="nav-number">2.3.</span> <span class="nav-text">配置zsh</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%B0%BE%E5%A3%B0"><span class="nav-number">3.</span> <span class="nav-text">尾声</span></a></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-overview">
            <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="Zhonghao Sun"
      src="/img/avatar/qqavatar.jpg">
  <p class="site-author-name" itemprop="name">Zhonghao Sun</p>
  <div class="site-description" itemprop="description">从未想过背叛, 也不必说忠贞</div>
</div>
<div class="site-state-wrap site-overview-item animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        <a href="/archives/">
          <span class="site-state-item-count">17</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
          <a href="/categories/">
        <span class="site-state-item-count">12</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
          <a href="/tags/">
        <span class="site-state-item-count">18</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author site-overview-item animated">
      <span class="links-of-author-item">
        <a href="https://github.com/syvshc" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;syvshc" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="mailto:syvshc@foxmail.com" title="E-Mail → mailto:syvshc@foxmail.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://tex.stackexchange.com/users/180617/syvshc" title="TeX.SE → https:&#x2F;&#x2F;tex.stackexchange.com&#x2F;users&#x2F;180617&#x2F;syvshc" rel="noopener" target="_blank"><i class="fab fa-stack-exchange fa-fw"></i>TeX.SE</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://studio.youtube.com/channel/UCqvoLd2tlB_xuRkZ7_GYOVw/editing/details" title="YouTube → https:&#x2F;&#x2F;studio.youtube.com&#x2F;channel&#x2F;UCqvoLd2tlB_xuRkZ7_GYOVw&#x2F;editing&#x2F;details" rel="noopener" target="_blank"><i class="fab fa-youtube fa-fw"></i>YouTube</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://www.worldcubeassociation.org/persons/2015SUNZ03/" title="WCA → https:&#x2F;&#x2F;www.worldcubeassociation.org&#x2F;persons&#x2F;2015SUNZ03&#x2F;" rel="noopener" target="_blank"><i class="fas fa-cubes fa-fw"></i>WCA</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://steamcommunity.com/id/syvshc" title="Steam → https:&#x2F;&#x2F;steamcommunity.com&#x2F;id&#x2F;syvshc" rel="noopener" target="_blank"><i class="fab fa-steam fa-fw"></i>Steam</a>
      </span>
  </div>
  <div class="cc-license site-overview-item animated" itemprop="license">
    <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" class="cc-opacity" rel="noopener" target="_blank"><img src="https://cdn.jsdelivr.net/npm/@creativecommons/vocabulary@2020.11.3/assets/license_badges/small/by_nc_sa.svg" alt="Creative Commons"></a>
  </div>


  <div class="links-of-blogroll site-overview-item animated">
    <div class="links-of-blogroll-title"><i class="fas fa-link fa-fw"></i>
      友情链接
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="https://www.latexstudio.net/" title="https:&#x2F;&#x2F;www.latexstudio.net" rel="noopener" target="_blank">LaTeX 工作室</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://sikouhjw.github.io/" title="https:&#x2F;&#x2F;sikouhjw.github.io&#x2F;" rel="noopener" target="_blank">sikouhjw</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://zhuanlan.zhihu.com/typography-and-latex/" title="https:&#x2F;&#x2F;zhuanlan.zhihu.com&#x2F;typography-and-latex&#x2F;" rel="noopener" target="_blank">muzimuzhi</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://liam.page/" title="https:&#x2F;&#x2F;liam.page&#x2F;" rel="noopener" target="_blank">Liam</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://stone-zeng.github.io/" title="https:&#x2F;&#x2F;stone-zeng.github.io&#x2F;" rel="noopener" target="_blank">stone-zeng</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://muyuuuu.github.io/" title="https:&#x2F;&#x2F;muyuuuu.github.io&#x2F;" rel="noopener" target="_blank">兰铃</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="http://yuxtech.club/" title="http:&#x2F;&#x2F;yuxtech.club&#x2F;" rel="noopener" target="_blank">yuxtech</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://camusecao.top/" title="https:&#x2F;&#x2F;camusecao.top&#x2F;" rel="noopener" target="_blank">CamuseCao</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://www.alanshawn.com/" title="https:&#x2F;&#x2F;www.alanshawn.com&#x2F;" rel="noopener" target="_blank">Alan Xiang</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://ssayno.github.io/" title="https:&#x2F;&#x2F;ssayno.github.io&#x2F;" rel="noopener" target="_blank">ssayno</a>
        </li>
    </ul>
  </div>

          </div>
        </div>
      </div>
    </div>
  </aside>
  <div class="sidebar-dimmer"></div>


    </header>

    
  <div class="back-to-top" role="button" aria-label="返回顶部">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>
  <div class="reading-progress-bar"></div>

  <a href="https://github.com/syvshc" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://syvshc.gitee.io/2020-12-12-Windows-and-Ubuntu/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/img/avatar/qqavatar.jpg">
      <meta itemprop="name" content="Zhonghao Sun">
      <meta itemprop="description" content="从未想过背叛, 也不必说忠贞">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="无锤乙醇">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          Win10+Ubuntu18.04LTS双系统安装记录
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2020-12-12 18:00:00" itemprop="dateCreated datePublished" datetime="2020-12-12T18:00:00+08:00">2020-12-12</time>
    </span>
      <span class="post-meta-item">
        <span class="post-meta-item-icon">
          <i class="far fa-calendar-check"></i>
        </span>
        <span class="post-meta-item-text">更新于</span>
        <time title="修改时间：2021-11-19 12:47:46" itemprop="dateModified" datetime="2021-11-19T12:47:46+08:00">2021-11-19</time>
      </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
      <span class="post-meta-item-text">分类于</span>
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/%E9%85%8D%E7%BD%AE%E8%AE%B0%E5%BD%95/" itemprop="url" rel="index"><span itemprop="name">配置记录</span></a>
        </span>
          ，
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/%E9%85%8D%E7%BD%AE%E8%AE%B0%E5%BD%95/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
        </span>
    </span>

  
    <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv">
      <span class="post-meta-item-icon">
        <i class="far fa-eye"></i>
      </span>
      <span class="post-meta-item-text">阅读次数：</span>
      <span id="busuanzi_value_page_pv"></span>
    </span>
    <span class="post-meta-break"></span>
    <span class="post-meta-item" title="本文字数">
      <span class="post-meta-item-icon">
        <i class="far fa-file-word"></i>
      </span>
      <span class="post-meta-item-text">本文字数：</span>
      <span>5.5k</span>
    </span>
    <span class="post-meta-item" title="阅读时长">
      <span class="post-meta-item-icon">
        <i class="far fa-clock"></i>
      </span>
      <span class="post-meta-item-text">阅读时长 &asymp;</span>
      <span>5 分钟</span>
    </span>
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
        <p>本文记录过程的时候会同时记录踩过的坑, 这些坑有一些是由于我自己的操作不当, 还有一些是由于网上的教程版本过旧或书写错误造成的, 我都会记录下来, 但是文中的一些文本的描述会与系统标准输出的文本有一定差异, 只要不影响命令的运行的文字笔者不会过分追求一字不差. 那么我们开始吧<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a>.</p>
<span id="more"></span>
<p><strong><em>本文部分内容过时, 请仔细甄别</em></strong></p>
<h2 id="双系统安装准备">双系统安装准备</h2>
<ul>
<li>在<a target="_blank" rel="noopener" href="https://cn.ubuntu.com/">Ubuntu官网</a>下载<code>Ubuntu18.04LTS</code>. 虽然<code>Ubuntu19.10</code>已经问世, 但是考虑到<code>LTS</code>版本的长期支持, 还是选择了这个版本<a href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a>;</li>
<li>关闭<code>Windows10</code>中电源设置中的<code>快速启动</code>;</li>
<li>下载<del>UltraISO</del> <a target="_blank" rel="noopener" href="https://rufus.ie/zh/">rufus</a> 作为启动盘制作工具;</li>
<li><code>SanDisk USB3.0 32G</code> U盘一个作为启动盘<a href="#fn3" class="footnote-ref" id="fnref3" role="doc-noteref"><sup>3</sup></a>;</li>
<li>在<code>BIOS</code>中关闭<code>Secure Boot</code>.</li>
<li>在硬盘中<a href="#fn4" class="footnote-ref" id="fnref4" role="doc-noteref"><sup>4</sup></a>压缩出至少<code>25G</code>的空间作为<code>Ubuntu</code>的系统盘, 我因为考虑到可能长期使用, 压缩了<code>100G</code>, 但是现在已经有不够用的趋势了……</li>
</ul>
<p>在我尝试压缩我的机械硬盘的时候<code>Windows</code>提示我</p>
<figure>
<img src="https://pic4.zhimg.com/80/v2-df63444c0adf72d52ae7240ae7bc97f1.png" alt="压缩提示" /><figcaption aria-hidden="true">压缩提示</figcaption>
</figure>
<p>而我的机械硬盘上还有<code>300G</code>的空余空间, 我没多想, 只是认为是磁盘里碎片太多, 导致无法找出<code>100G</code>连续的空间进行压缩, 于是我运行了磁盘优化, 但是优化完还是报错, 这时我感觉问题不像我想的那样, 问了<a href="google.com.hk"><code>google</code></a>才知道我的磁盘已经在我不知道是什么的时候变成了<strong>动态磁盘</strong>[^3]! [^3]:在<code>Windows</code>自带的磁盘管理中动态磁盘为黄色, 基本磁盘为深蓝色.</p>
<p>而这块动态磁盘还被分成了4个区, 尽管我的机械硬盘在<code>Win</code>中显示为一块磁盘. 这下知道问题所在就该着手解决了, 查了<a href="google.com.hk">google</a>知道可以用<code>分区助手</code>或<code>DiskGenius</code>来实现动态磁盘逆转回基本磁盘, 在用移动硬盘备份好机械硬盘里所有的文件后开始运行软件, 应该是我的磁盘型号的问题, 这两个软件都<strong>无法处理</strong>, 只能将其格式化, 转换为基本磁盘后再压缩出<code>100G</code>.</p>
<h2 id="开始操作">开始操作</h2>
<h3 id="安装ubuntu18.04">安装<code>Ubuntu18.04</code></h3>
<ul>
<li><p>用<code>UltraISO</code>将<code>ubuntu1804</code>刻录进U盘;</p></li>
<li><p>重启电脑, 进入<code>BIOS</code>, 选择<code>USB</code>启动;</p></li>
<li><p>进入<code>Ubuntu</code>的<code>grub</code>界面后会选择<code>试用(try ubuntu without installing)</code>还是<code>安装(install ubuntu)</code>, 都可以, 如果选择<code>Try ubuntu</code>会在桌面的左上角出现一个<code>install</code>, 双击即可. 选择<code>安装Ubuntu</code>.</p></li>
<li><p>选择语言为<code>汉语</code></p></li>
<li><p>选择<code>为图像或无线硬件, 以及MP3和其它媒体安装第三方软件</code></p></li>
</ul>
<p>我取消了勾选, 而由于我的<code>安装Ubuntu时下载更新</code>默认勾选且无法选择就只能勾选</p>
<figure>
<img src="https://pic4.zhimg.com/80/v2-bf16d4403832c000d0d7f3dabebb6332.png" alt="准备安装" /><figcaption aria-hidden="true">准备安装</figcaption>
</figure>
<p>但是在后续的使用中发现缺少了很多依赖, 并不知道是不是安装时这个选项造成的, 但是还是勾选上吧, 只是安装时间会长一些.</p>
<ul>
<li>选择安装类型</li>
</ul>
<figure>
<img src="https://pic4.zhimg.com/80/v2-a98750890a22b38fd625febad744072b.png" alt="安装类型" /><figcaption aria-hidden="true">安装类型</figcaption>
</figure>
<p>我看到的几乎所有的教程中都提到了要选择<code>其他选项</code>, 而正常来说应该在<code>其他选项</code>的下一个界面中出现<code>100G</code>的空闲空间才对, 但是我只有几个<code>1M</code>的空闲空间, 为此我还返回<code>Windows</code>重新格式化了机械硬盘, 重新压缩卷, 但是都没有用. 后来问了我的同学, 他表示直接选择第一个选项<code>安装Ubuntu, 与其他系统共存</code>就可以, 开机时可以自动使用<code>Ubuntu</code>的<code>grub2</code>引导系统, 选完了之后开始安装, 重启电脑.</p>
<p><strong>又出问题了.</strong> 我的系统重启后可以进入<code>Ubuntu</code>的<code>grub2</code>, 选择进入<code>Ubuntu</code>, 在开机图标界面停留了很长时间, 我就强制关机了, 开机再进入<code>Ubuntu</code>的时候同样是停在了开机图标界面, 当我打算再次强制关机甚至重装系统的时候, 电脑自己关机了, <strong>我不确定这和我第一次的强制关机是否有关系</strong>. 在我查了一些文档后发现可能和我的<code>nvidia</code>显卡有关, 即<code>Ubuntu</code>中没有<code>nvidia</code>显卡的驱动, 而独显又主动启动, 导致了开机时的<code>bug</code>, 这里我尝试了两种方法, 均可以进入系统</p>
<ul>
<li>在<code>grub2</code>界面将光标停在<code>Ubuntu</code>, 按<code>e</code>, 找到<code>quiet</code>, 在后面加上<code>nouveau.modeset=0</code>, 按<code>F10</code>保存, 进入系统.</li>
<li>在<code>grub2</code>界面选择第二个选项<code>Advance</code>, 然后选择<code>Resume boot</code>, 进入系统.</li>
</ul>
<p>进入系统后要开始下载<code>nvidia</code>的驱动， 打开终端， 输入</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ubuntu-drivers devices</span><br></pre></td></tr></table></figure>
<p>可以看到类似下面的输出</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==</span><br><span class="line">modalias : pci:v000010DEd00001C8Dsv00001028sd000007E1bc03sc02i00</span><br><span class="line">vendor   : NVIDIA Corporation</span><br><span class="line">model    : GP107M [GeForce GTX 1050 Mobile]</span><br><span class="line">driver   : nvidia-driver-430 - distro non-free</span><br><span class="line">driver   : nvidia-driver-435 - distro non-free recommended</span><br><span class="line">driver   : nvidia-driver-390 - distro non-free</span><br><span class="line">driver   : xserver-xorg-video-nouveau - distro free <span class="built_in">builtin</span></span><br></pre></td></tr></table></figure>
<p>可以看到我的显卡型号是<code>GP107M [GeForce GTX 1050 Mobile]</code>, 推荐的驱动是<code>nvidia-driver-435 - distro non-free recommended</code>, 我使用的是默认安装</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo ubuntu-drivers autoinstall</span><br></pre></td></tr></table></figure>
<p>也可以使用<code>apt</code>安装, 比如<code>sudo apt install nvidia-340</code>可以安装<code>340</code>版本的驱动. 安装驱动后就可以重启电脑, 这时不会卡开机界面了[^4] [^4]:在我这里没有问题但是不代表没有其他问题.</p>
<h3 id="安装ubuntu下的基本软件">安装Ubuntu下的基本软件</h3>
<h4 id="安装文本编辑器vim">安装文本编辑器<code>vim</code></h4>
<p>在终端输入</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get install vim </span><br></pre></td></tr></table></figure>
<p>即可安装, 可以在终端中输入</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">vimtutor</span><br></pre></td></tr></table></figure>
<p>可以查看<code>vim</code>自带的简易教程, 但是如果终端是<code>UTF8</code>编码, 中文是<code>LANG</code>环境, 那么这个命令是看不到中文版的教程的, 可以在终端运行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">iconv -f gb2312 -t utf8 /usr/share/vim/vim80/tutor/tutor.zh.euc -o ~/vimtutor.txt</span><br></pre></td></tr></table></figure>
<p>其中的<code>vim80</code>为自己的<code>vim</code>版本, 如果不确定的话可以<code>cd \usr/share/vim &amp;&amp; ls</code> 看一下, 会将<code>vimtutor.txt</code>的中文版输出到<code>~</code>目录下.</p>
<h4 id="安装texlive">安装<code>TexLive</code></h4>
<p>关于安装教程可以在啸行的<a target="_blank" rel="noopener" href="https://github.com/OsbertWang/install-latex">install-LaTeX项目</a>处下载， 有很详细的教程， 这里我就说几个要注意的点.</p>
<ul>
<li><strong>先卸载<code>Ubuntu</code>预装的<code>TeXLive</code></strong>，本来我以为<code>Ubuntu</code>是不自带<code>TeXLive</code>的<a href="#fn5" class="footnote-ref" id="fnref5" role="doc-noteref"><sup>5</sup></a>, 就直接装了<code>TL2019</code>, 但是当我想要用</li>
</ul>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">tlmgr update --self --all</span><br></pre></td></tr></table></figure>
<p>升级宏包时, 提示我<code>TeXLive</code>的版本不匹配</p>
<figure>
<img src="https://pic4.zhimg.com/80/v2-94ddf1ee3e06abb707dfe0e226a44dad.png" alt="升级宏包错误" /><figcaption aria-hidden="true">升级宏包错误</figcaption>
</figure>
<p>而且当我使用<code>tex -v</code>查看版本的时候, 发现输出的是<code>TeXLive2017</code>, 然后可以按照<code>install-latex</code>中提到的方法卸载, 虽然安装后再卸载也没出什么问题, 但是安装前还是卸一下好一点.</p>
<ul>
<li>中文索引引擎<code>zhmakeindex</code></li>
</ul>
<p>在<code>Windows</code>添加这个引擎并不难, 从<a target="_blank" rel="noopener" href="https://ctan.org/pkg/zhmakeindex">CTAN</a>上下载, 或从leo-liu的<a target="_blank" rel="noopener" href="https://github.com/leo-liu/zhmakeindex">zhmakeindex项目</a><code>clone</code>到本地, 但是后者需要自己用<code>go</code>编译, 具体教程可以参考<a target="_blank" rel="noopener" href="https://www.ituring.com.cn/article/207412">图灵社区</a>, 有必要一提, 我在照教程实践的时候, 在<strong>安装zhmakeindex</strong>一步中并没有完成, 报了一个我看不懂的错</p>
<figure>
<img src="https://pic4.zhimg.com/80/v2-6241ad17c3d2436d93bb804d7021ed93.png" alt="go报错" /><figcaption aria-hidden="true">go报错</figcaption>
</figure>
<p>由于我不会<code>GOLANG</code>, 也就没有去查相关原因, 知道的大佬可以在评论区补充.</p>
<p>在<code>Windows</code>下直接将编译好的<code>zhmakeindex.exe</code>复制到<code>C:\texlive\2019\bin\win32</code>即可, 在命令行中进入写有索引的文件夹中, 执行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">zhmakeindex filename</span><br></pre></td></tr></table></figure>
<p>即可生成索引文件 <code>filename.ind</code>.</p>
<p>而在<code>Ubuntu</code>下编译失败后我也尝试用这种方法将<code>zhmakeindex</code>直接复制进<code>/usr/local/texlive/2019/bin/x86_64-linux</code>, 然后执行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">zhmakeindex filename</span><br></pre></td></tr></table></figure>
<p>但是<code>Ubuntu</code>并不认识这个命令, 在群里交流了一下,</p>
<p>在下载的目录里执行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ls -hal</span><br></pre></td></tr></table></figure>
<p>会返回下面的结果</p>
<!-- ![查看 zhmakeindex 权限](https://pic4.zhimg.com/80/v2-6241ad17c3d2436d93bb804d7021ed93.png) -->
<blockquote>
<p>这里贴错图了, 原图也丢了, 意思就是 <code>zhmakeindex</code> 没有执行权限</p>
</blockquote>
<p>可以发现<code>zhmakeindex</code>没有执行权限<code>x</code>. 于是执行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">chmod +x zhmakeindex</span><br></pre></td></tr></table></figure>
<p>为<code>zhmakeindex</code>添加执行权限, 在该文件夹下的终端运行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">zhmakeindex</span><br></pre></td></tr></table></figure>
<p>如果得到以下的输出</p>
<figure>
<img src="https://pic4.zhimg.com/80/v2-edd3a958503aff3401e4e42103cc6b4a.png" alt="zhmakeindex 输出" /><figcaption aria-hidden="true">zhmakeindex 输出</figcaption>
</figure>
<p>即表示可以执行, 这时可以选择<code>sudo cp ./zhmakeindex /bin/</code>方便调用, 或者在<code>~/.bashrc</code>或<code>~/.zshrc</code>中添加别名后更新</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">alias</span> zhmakeindex=<span class="string">&quot;/usr/local/texlive/2019/bin/x86_64-linux/zhmakeindex&quot;</span></span><br></pre></td></tr></table></figure>
<p>其中<code>/usr/local/texlive/2019/bin/x86_64-linux/</code>为存有改过权限的<code>zhmakeindex</code>文件的目录</p>
<p>然后</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">source</span> ~/.zshrc</span><br></pre></td></tr></table></figure>
<p>即可.</p>
<h4 id="安装matlab">安装<code>MATLAB</code></h4>
<p>装<code>MATLAB</code>没有什么好说的, 我的学校提供了教育版的<code>MATLAB</code>, 所以不涉及到破解, 一切按流程走就行, 注意最后填写可使用的用户时的用户名填对.</p>
<h4 id="安装vscode及配置">安装<code>VSCode</code>及配置</h4>
<p>该部分可以从博客 <a href="/2021-09-02-ArchLinux/" title="Arch Linux 与 Windows 10 的双系统安装与折腾">Arch Linux 与 Windows 10 的双系统安装与折腾</a> 中看到更详细的<strong>插件</strong>的说明</p>
<p>可以从<a target="_blank" rel="noopener" href="https://code.visualstudio.com/">官网</a>上下载<code>*.deb</code>文件安装, 或者从<code>Ubuntu软件</code>中安装, 我选择的是后者.</p>
<p>暂时我对<code>VSCode</code>的使用就是作为<code>LaTeX</code>的编辑器, 下载的插件有</p>
<ul>
<li><code>LaTeX Workshop</code></li>
<li><code>Markdown All in One</code></li>
<li><code>Chinese (Simplified) Language Pack for Visual Studio Code</code></li>
</ul>
<p><code>settings.json</code>的内容在<a target="_blank" rel="noopener" href="https://paste.ubuntu.com/p/PhQJSbByZd/">这里</a></p>
<p>另外根据我的<code>packages</code>使用习惯增加了用户代码片段<code>latex.json</code>, 在<a target="_blank" rel="noopener" href="https://paste.ubuntu.com/p/WS6CBxxY2G/">这里</a></p>
<h4 id="安装通讯工具wineqq">安装通讯工具<code>wine+qq</code></h4>
<p>由于腾讯最近发布的<code>QQ for Linux2.0</code>体验极差, 还是只能选择<code>wine+QQ!</code>的方式解决, 具体教程可以看<a target="_blank" rel="noopener" href="https://www.lulinux.com/archives/1319">撸Linux</a>上的教程, 在我的电脑上没有问题, 可以完美的使用.</p>
<h4 id="输入法fcitx-rime以小鹤音形配置">输入法<code>fcitx-rime</code>以小鹤音形配置</h4>
<p>该部分可以从博客 <a href="/2021-09-02-ArchLinux/" title="Arch Linux 与 Windows 10 的双系统安装与折腾">Arch Linux 与 Windows 10 的双系统安装与折腾</a> 中看到更简单的配置方法, 以下内容已经弃用.</p>
<p>这个东西在我用<code>linux</code>虚拟机的时候就把我折磨地痛不欲生, 网上现存的教程太少了, 只能参考其他教程顺藤摸瓜.</p>
<p>在安装小鹤音形之前, 我曾使用自带的<code>ibus</code>输入法中的双拼简单替代, 使用体验并不是太好, 出现的问题有<strong>输入法响应不及时</strong>, 以及在部分软件中<strong>无法被呼出</strong>, 比如<code>TeXStudio</code>, 放弃. 也使用过<code>Sougou</code>中的双拼, 出现的问题有<strong>候选区乱码</strong> , 并且尝试了解决办法后依然没有解决, 还有一点不符合我使用习惯: <strong>无法设置在中文输入方式下输入半角符号</strong> , 最终还是选择<code>rime</code>挂接码表, 但是还有一个问题就是最新几版的码表已经被隐藏了, 在<a target="_blank" rel="noopener" href="http://flypy.ys168.com/">小鹤音形网盘</a>中的码表资源较旧, 但也不是不能用, 就凑合一下吧.</p>
<ol type="1">
<li>首先下载<code>fcitx-rime</code></li>
</ol>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get install fcitx-rime</span><br></pre></td></tr></table></figure>
<ol start="2" type="1">
<li>在<a target="_blank" rel="noopener" href="http://flypy.ys168.com/">小鹤音形网盘</a>中下载<code>小鹤音形Rime平台for Linux.zip</code>, 解压后会发现有一个<code>bin</code>文件夹, 还有几个<code>*.yaml</code>文件.</li>
<li>按照我找到的几乎所有教程都说要把所有文件复制到<code>~/.config/fcitx/rime</code>下, 但是这么做的话在部署的时候报错, 看一下<code>log</code>文件, 里面有为数不多的我能看懂的</li>
</ol>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">E1021 19:55:48.464576 31050 deployment_tasks.cc:242] source file &#39;flypyplus.dict.yaml&#39; does not exist.</span><br><span class="line">E1021 19:55:48.492090 31050 deployment_tasks.cc:242] source file &#39;flypy.dict.yaml&#39; does not exist.</span><br></pre></td></tr></table></figure>
<p>表示<code>rime</code>找不到上面两个文件, 而<code>rime</code>要用这两个文件来生成对应的<code>bin</code>文件来调用, 但是在鹤大提供的包里直接把编译结果<code>bin</code>文件给出来了, 那就是为什么<code>rime</code>找不到这两个文件的问题了. 4. 将<code>bin/</code>文件夹下的所有<code>*.bin</code>文件都拿出来, 放到<code>~/.config/fcitx/rime</code>下, 再进行部署就行了. 5. 也可以在这个文件夹下的<code>flypy_user.txt</code>, <code>flypy_top.txt</code>, <code>flypy_sys.txt</code>来添加自己的编码, 这里就不赘述了.</p>
<h4 id="小飞机">小飞机</h4>
<p>由于某些原因, 这里只贴一个<a target="_blank" rel="noopener" href="https://github.com/qingshuisiyuan/electron-ssr-backup">项目链接</a></p>
<h3 id="配置zsh">配置<code>zsh</code></h3>
<p>因为最近刚学了<code>git</code>， 并且有项目在<a target="_blank" rel="noopener" href="https://github.com/syvshc">Github</a>上, 而<code>Ubuntu</code>自带的<code>bash</code>并不显示<code>git</code>的分支等信息, 用起来并不是很顺手, 于是用<code>zsh</code>来美化一下. 安装及配置的教程可以看<a target="_blank" rel="noopener" href="https://segmentfault.com/a/1190000015283092">这里</a>.</p>
<h2 id="尾声">尾声</h2>
<p>至此我的<code>Ubuntu</code>的配置已经可以满足日常使用, 分配出来的<code>100G</code>空间还剩下<code>25G</code>, 看起来还是不太够用, 不过对于不在<code>Linux</code>下玩游戏来说使用也够了, 就这样吧. 如果有表述错误还请评论区指正</p>
<section class="footnotes" role="doc-endnotes">
<hr />
<ol>
<li id="fn1" role="doc-endnote"><p>由于事先没有准备, 导致很多情况下都没有截图, 这里会尽量找图来保证记录的易读性.<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn2" role="doc-endnote"><p>现在已有更新的长期支持版本 <a target="_blank" rel="noopener" href="https://ubuntu.com/download/desktop"><code>Ubuntu 20.04.3LTS</code></a><a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn3" role="doc-endnote"><p>要注意自己的机器是否支持从 <code>USB 3.0</code> 的 U 盘启动, 可以插入 U 盘后, 在启动选项界面查看是否有该 U 盘, 如果没有, 请选用 <code>USB 2.0</code> 的 U 盘.<a href="#fnref3" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn4" role="doc-endnote"><p>尽量不要是<code>Windows</code>的系统盘, 并没有试过如果是系统盘会发生什么<a href="#fnref4" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn5" role="doc-endnote"><p>新版的 <code>Ubuntu</code> 可能不自带 TeX Live, 安装之前可以 <code>tex -v</code> 检查一下.<a href="#fnref5" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>

    </div>

    
    
    

    <footer class="post-footer">
          <div class="reward-container">
  <div></div>
  <button>
    赞赏
  </button>
  <div class="post-reward">
      <div>
        <img src="/img/avatar/wechatpay.png" alt="Zhonghao Sun 微信">
        <span>微信</span>
      </div>
      <div>
        <img src="/img/avatar/alipay.jpg" alt="Zhonghao Sun 支付宝">
        <span>支付宝</span>
      </div>

  </div>
</div>

          

<div class="post-copyright">
<ul>
  <li class="post-copyright-author">
      <strong>本文作者： </strong>Zhonghao Sun
  </li>
  <li class="post-copyright-link">
      <strong>本文链接：</strong>
      <a href="https://syvshc.gitee.io/2020-12-12-Windows-and-Ubuntu/" title="Win10+Ubuntu18.04LTS双系统安装记录">https://syvshc.gitee.io/2020-12-12-Windows-and-Ubuntu/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处！
  </li>
</ul>
</div>

          <div class="post-tags">
              <a href="/tags/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85/" rel="tag"># 系统安装</a>
              <a href="/tags/%E9%85%8D%E7%BD%AE%E8%AE%B0%E5%BD%95/" rel="tag"># 配置记录</a>
              <a href="/tags/%E5%B8%AE%E5%8A%A9%E6%96%87%E6%A1%A3/" rel="tag"># 帮助文档</a>
          </div>

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/2020-12-12-welcome/" rel="prev" title="欢迎来到我的 GitHub.io">
                  <i class="fa fa-chevron-left"></i> 欢迎来到我的 GitHub.io
                </a>
            </div>
            <div class="post-nav-item">
                <a href="/2021-03-03-beamer-font-set/" rel="next" title="beamer 的字体设置">
                  beamer 的字体设置 <i class="fa fa-chevron-right"></i>
                </a>
            </div>
          </div>
    </footer>
  </article>
</div>






    <div class="comments gitalk-container"></div>
</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">


<div class="copyright">
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Syvshc</span>
</div>
<div class="wordcount">
  <span class="post-meta-item">
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-line"></i>
    </span>
    <span title="站点总字数">68k</span>
  </span>
  <span class="post-meta-item">
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">1:02</span>
  </span>
</div>
<div class="busuanzi-count">
    <span class="post-meta-item" id="busuanzi_container_site_uv">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-item" id="busuanzi_container_site_pv">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
  </div>

    </div>
  </footer>

  
  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>

  
<script src="/js/third-party/search/local-search.js"></script>




  
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>




  

  <script class="next-config" data-name="enableMath" type="application/json">false</script><script class="next-config" data-name="mathjax" type="application/json">{"enable":true,"tags":"ams","js":{"url":"https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-mml-chtml.js","integrity":"sha256-r+3itOMtGGjap0x+10hu6jW/gZCzxHsoKrOd7gyRSGY="}}</script>
<script src="/js/third-party/math/mathjax.js"></script>


<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.2/dist/gitalk.css" integrity="sha256-AJnUHL7dBv6PGaeyPQJcgQPDjt/Hn/PvYZde1iqfp8U=" crossorigin="anonymous">

<script class="next-config" data-name="gitalk" type="application/json">{"enable":true,"github_id":"syvshc","repo":"syvshc.github.io","client_id":"da0debc4d456cb5f3371","client_secret":"14ec65d19a969abe01994143eff233a4180484aa","admin_user":"syvshc","distraction_free_mode":true,"proxy":"https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token","language":"zh-CN","js":{"url":"https://cdn.jsdelivr.net/npm/gitalk@1.7.2/dist/gitalk.min.js","integrity":"sha256-Pmj85ojLaPOWwRtlMJwmezB/Qg8BzvJp5eTzvXaYAfA="},"path_md5":"d387dfbc105053c9f2749ceea0c2787f"}</script>
<script src="/js/third-party/comments/gitalk.js"></script>

</body>
</html>
